-
Home
-
Download Manager and Payment Form WordPress Plugin – WP SmartPay
-
2.7.11
-
Code
-
Classes
- Downloader
Total Complexity |
400 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
1,492 |
Lines of code |
1,200 |
Logical lines of code |
1,112 |
Comment lines |
153 |
Methods |
13 |
Properties |
1 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getFileCtype() |
D |
0 |
292 |
880 |
processDownload() |
D |
26 |
49 |
113 |
_readfile_chunked() |
B |
37 |
20 |
71 |
deliverDownload() |
S |
48 |
7 |
30 |
_get_local_path_from_url() |
S |
57 |
6 |
15 |
isLocalFileLocationAllowed() |
S |
61 |
6 |
11 |
vaildateToken() |
S |
61 |
6 |
10 |
getDownloadUrl() |
S |
52 |
4 |
23 |
generateToken() |
S |
57 |
3 |
16 |
checkDownloadUrl() |
S |
57 |
2 |
16 |
isLocalFile() |
S |
67 |
2 |
7 |
_symlink_file_downloads() |
S |
74 |
2 |
4 |
__construct() |
S |
75 |
1 |
4 |